<?php
/**
 * Created by PhpStorm.
 * User: wzy12
 * Date: 2018/10/19
 * Time: 11:36
 */

namespace app\admin\validate;


use think\Validate;

class Delivery extends Validate
{
    protected $rule = [
        'admin_id' => 'require|number',
        'user_id' => 'require|number',
        'order_id' => 'require|number',
        'order_sn' => 'require|number',
        'send_type' => 'require|number',
        'shipping_status' => 'require|number',
        'mobile' => 'require|number',
    ];

    protected $message = [
        'user_id.require'  =>  '请不要进行非法操作',
        'admin_id.require'  =>  '请不要进行非法操作',
        'order_id.require'  =>  '请不要进行非法操作',
        'send_type.require'  =>  '请不要进行非法操作',
        'shipping_status.require'  =>  '请不要进行非法操作',
        'mobile.require'  =>  '请不要进行非法操作',
        'order_sn.require'  =>  '请不要进行非法操作',
    ];
}